Part Number Hot Search : 
QA170 2SC23 NM24C04U 7C42X5V NTE19 8100E RGP20D AD815307
Product Description
Full Text Search
 

To Download AN1265 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AN1265 APPLICATION NOTE
Highlighting the Advanced Features of the M58LW064 family of Flash Memories
CONTENTS
s s
INTRODUCTION The M58LW064 is the first in a new family of leading-edge Flash Memories from ST Microelectronics with many advanced features to suit today's and tomorrow's demanding products. Incorporating new multi-bit cell technology, 32-bit burst bus access and write buffers along side standard Flash Memory features the family represents a new generation in the advance of Flash Memory technology. This application note is intended for use by design engineers who are already familiar with current Flash Memories and are keen to familiarize themselves with this next advance. PRODUCT FAMILY DISTINCTIVE CHARACTERISTICS This new family of Flash Memories combines several key features that distinguish it from previous generation Flash Memories. These features are aimed at reducing cost in future designs by increasing the size of the Flash Memory array and reducing the number of components in a system. A brief overview of each feature is presented here, with more depth being described later on. Multi-bit Cell Technology. Each cell in the Flash Memory can be programmed to more than two distinct logic levels, giving rise to the concept of multi-bit cells that store more than one bit per cell. A memory that uses this technology can store twice as many bits in the same size array of transistors, in the future four times as many bits are planned. This will halve or quarter the cost of the memory per bit. 32-bit Burst Access. Many microprocessors incorporate burst access busses in order to increase the through-put of data whilst decreasing the power consumption. By providing a Burst Read operation in the Flash Memory it is possible to interface the Flash Memory to microprocessors directly (as apposed to shadowing the contents in SDRAM), decreasing power and maintaining fast access. The amount of SDRAM can be reduced considerably since it is no longer necessary to have as much, thus saving cost in the product. Furthermore, the M58LWxxx family is available with 32-bit bus access, giving even higher bandwidth access compared to previous 8-bit and 16-bit Flash Memories. Page Mode. For microprocessors without Burst Read operations the memory supports faster access for accesses to ad-
INTRODUCTION PRODUCT FAMILY DISTINCTIVE CHARACTERISTICS APPLICATIONS ADVANCED FEATURES - MULTI-BIT CELL TECHNOLOGY - BURST ACCESS - PAGE MODE - WRITE BUFFERS - CODE PLUS DATA STORAGE
s s
s
STANDARD FEATURES - CFI - SOFTWARE READWHILE-WRITE - BLOCK PROTECTION - NOR TECHNOLOGY
s
BENCHMARKING AGAINST INTEL STRATAFLASHTM CONCLUSIONS
s
July 2001
1/12
AN1265 - APPLICATION NOTE
dresses within the same page. The first access to the page results in an access time equivalent to the normal random access time, further accesses to the same page are performed very much faster. Write Buffers. Up to 16 Words can be submitted at a time for programming (4 Words minimum). This feature both speeds up the programming time in the Flash Memory and frees up the microprocessor to do other work whilst programming. Code Plus Data Storage. The size of the memory array in the M58LWxxx family will make it one of the first memories that can be used to store both an application's code and data on a single part. Most of today's portable applications require between 2 Mbytes and 4 Mbytes for their application code, with users demanding at least 4 Mbytes of data space (about 30 photo-quality digital pictures). With 8 Mbytes available in the smallest family member there is space for both all the required code (both application and operating system) and user's data. The development of the M58LWxxx Family will continue over the next few years with sizes doubling each year. With 4 bits per cell expected in 2002/3 the size will quadruple. Table 1 shows the roadmap planned for the product family. Table 1. M58LWxxx Family Roadmap
Family Lithography Density Organization Supply Voltage Multi-bit Cell M58LW032A/B 0.18 32 Mbit 2 Mb x16 1 Mb x32 2.7 to 3.6V 2 bits per cell M58LW064A/B 0.18 64 Mbit 4 Mb x16 2 Mb x32 2.7 to 3.6V 2 bits per cell M58LW128A/B 0.18 128 Mbit 8 Mb x16 4 Mb x32 2.7 to 3.6V 2 bits per cell M58LW256A/B 0.15 256 Mbit 16 Mb x16 8 Mb x32 2.7 to 3.6V 2 bits per cell M58LW512A/B 0.13 512 Mbit / 1 Gbit 32 Mb x16 16 Mb x32 1.8 to 3.6V 2 or 4 bits per cell
APPLICATIONS AND PRODUCTS The application areas that will benefit the most from this advance in Flash Memory are mainly consumer products that require low power, low cost and large storage. Some of the target products are:
s s s s
Digital Set-top Boxes Phones incorporating Web Browsers and Email Digital Still Cameras Hand-help Applications, Personal Digital Assistants (PDAs)
The family fits into very competitive market places where consumers are very conscious of both price, storage capacity and power consumption. The M58LWxxx family makes an exceptional product for this market area since it satisfies and exceeds all of the market requirements. When designed into future systems further savings can be made to power and price by reducing or removing the SDRAM requirements. Other applications that are very demanding on Flash Memories include GPS, Networking Products, Computer Games and Printers. The M58LWxxx offers a clear advantage over previous generation Flash Memories in each of these areas. ADVANCED FEATURES To fully understand the benefits that the advanced features provide it is useful to have an in-depth understanding of the technology and some examples of their use. This next section elaborates on the overview given previously.
2/12
AN1265 - APPLICATION NOTE
Multi-bit Cells Technology The Floating Gate Transistor that forms the basis of Flash Memories works by storing charge on the Floating Gate. Figure 1 shows an example of the Floating Gate Transistor. The amount of charge stored in the Floating Gate affects the current in the transistor for a given Control Gate voltage. When the Floating Gate is programmed and the Control Gate voltage is set to the Sensing Voltage only a small amount of current flows through the transistor; when the Floating Gate is erased a higher current flows through the transistor. Figure 1. Floating Gate Transistor
IDS
Output = '1'
C S Source n+ Control Gate Floating Gate p n+ D Drain
QFG = 0 (erased)
Output = '0'
QFG < 0 (programmed)
Sensing Voltage
VCS
AI03421
It follows that by partially programming the Floating Gate with a different charge level it is possible to store more than just two states. If 4 distinct levels can be programmed then each transistor cell can store 2 bits; if 16 distinct levels can be programmed then each transistor cell can store 4 bits. Figure 2 shows examples for one and two bits per cell. The state of each cell is determined by comparing the output current level with proper thresholds to see which band the level is in. The more bits that are stored in each cell, the more thresholds are needed and the more accurate the comparison needs to be. Figure 2. Cell Levels and Output States
Previous Generation Flash Multi-level Flash '00' State '0' State '01' State '10' State '1' State '11' State
AI03422
3/12
AN1265 - APPLICATION NOTE
Programming Multi-bit Cells requires more accuracy than programming previous generation Flash since care must be taken to ensure that the Floating Gate contains the correct number of electrons for the intended state. The injection of electrons into the Floating Gate is finely tuned by applying a large number of small pulses on the gate of the cell (up to 20 for a 2-bit cell). Consequently the programming time for Multi-bit Cells is considerably longer. To achieve comparable programming speeds to previous generation Flash several words can be programmed simultaneously through the Write Buffer, resulting in a programming time typically under 200s for 16 Words (equivalent to about 12s per Word). 32-Bit Burst Access The M58LWxxx family Burst Read operations support high synchronous data transfer rates, automatic internal address increment, microprocessor controlled Burst Lengths and are compatible with Burst Mode microprocessors. A Burst Read operation involves specifying a start address and then clocking the data from successive addresses with a synchronous clock; special addressing schemes also exist to interleave the addresses as required by some microprocessors. Burst Read operations allow faster access to sequential memory contents than random access operations. For example, using the M58LW064 with a 33MHz clock the first data read during a Burst Read operation appears at least 7 clock cycles after the beginning of the Burst Read operation and subsequent data can be read one every following clock cycle (30ns). Registers inside the Flash can be used to configure various parameters about the Burst Read operation. On reset the memory reverts to its asynchronous mode and, until the registers are set, Burst Read operations cannot be performed. The microprocessor may boot from the Flash Memory, but only in asynchronous mode. The registers in the Flash configure the Burst Length, Burst Type and Burst Latency. The Burst Length is the number of data reads (either 16 or 32 bits) that can be read; lengths of 1, 2 and 4 (and 8 for 16 bit data busses) can be selected, or continuous burst reads may be used. When a Burst Length is selected (opposed to continuous) the memory will cycle the address through the page containing the start address. For example if a start address of 3 is specified and the Burst Length is 2 then continuous reads will read addresses 3, 4, 3, 4... until a new start address is specified by a new Burst Read operation. In continuous mode the whole memory can be read and the address will wrap from the top address to the bottom address. The Burst Type defines whether the addresses are read sequentially or are interleaved. Some microprocessors require interleaved read sequences and the memory can be fully configured to support these microprocessors. The Burst Latency configures the number of clock cycles before the memory will make the first and subsequent data available on the data bus. Both the microprocessor and the memory need to be configured to have the same Burst Latency, otherwise the data will be read from the wrong addresses. The Burst Latency is specified as X.Y.Y.Y where X is the initial number of clock cycles before the first data can be read and Y is the number of clock cycles before subsequent data can be read. Burst Latency X can be configured from 7 to 16 and Y can be configured to either 1 or 2. (Zero wait-state would be represented by 2.1.1.1). For each clock speed the Burst Performance Table in the Data Sheet specifies the fastest configuration that can be achieved and either this or slower configurations must be used.
4/12
AN1265 - APPLICATION NOTE
Figure 3. Example of 8-1-1-1 Burst Transfer
0 K ADDR L E G DATA 4i
1
2
3
4
5
6
7
8
9
10
11
12
4i
4i+1
4i+2
4i+3
AI03423
Page Read Microprocessors that do not support Burst Read operations may still be able to take advantage of fast access by using the Page Read feature of the M58LWxxx family. In a Page Read operation the first Bus Read operation in the page takes the full access time, subsequent Bus Read operations from the same page take considerably less time. For the M58LWxxx family a page is 4 Words in x16 mode or 2 Double Words in x32 mode, i.e. all of the Address Bits from A3 upwards must remain constant, only A2 (and A1 in x16 mode) may change. Figure 4 shows an example of a Page Read operation. The first address takes longer to reach the Data Bus than the subsequent Page Read operations. Figure 4. Page Read Example (x16 mode)
A3-Ax A1-A2 E G DATA
AI03424
5/12
AN1265 - APPLICATION NOTE
Write Buffer The Write Buffer allows the microprocessor to program from 4 to 16 Words (or from 2 to 8 Double Words) in parallel, both speeding up the programming and freeing up the microprocessor to perform other work. The minimum buffer size for a program operation is a 4 Word (or 2 Double Word) page. Inside the page the 4 Words are selected by addresses A2 and A1. Any attempt to program a single word (or Double Word) inside the page of a previously erased block will result in the programming of the Word, however all other Words inside the page will be set to FFFFh. For any page, only one Write to Buffer and Program Command can be issued inside a previously erased block. Any further program operations on that page must be preceeded by an erase operation on the respective block. As already discussed, each Multi-bit Cell takes longer to program than traditional single bit cells. Using the Write Buffer 16 Words can be programmed concurrently, without intervention from the microprocessor. Internal algorithms for parallel programming result in a speed increase of about 20 times, giving a programming time per Word of about 12s, similar to one bit per cell Flash. The additional benefit of the Word Buffer is it allows the microprocessor to perform other work in between servicing the Flash Memory. In order to service the Flash Memory every 10s the microprocessor is unable to perform very many other functions. Context switches where the microprocessor changes from one task to the next generally take about 2 to 5s and a CPU attempting to schedule fast flash programming will spend most of its time performing context switches and not getting any work done. With the Write Buffer the Flash only needs servicing approximately every 200s. While this is still fast, it is well within the reach of most microprocessors and allows far more CPU time to be dedicated to other tasks, leaving the programming of the Flash Memory as a background task. STANDARD FEATURES Along with the Advanced Features introduced with this Flash Family are the Standard Features that users have come to expect with modern Flash Memories. For example, the part includes the Common Flash Interface, Software Read-while-Write and Block Protection. The Flash is based on the highly efficient and reliable NOR technology. Many of the Standard Features are highlighted in the Benchmarking section, the more advanced ones are described in detail here. Common Flash Interface (CFI). Software standards are needed to make Flash Memories interchangeable and to encourage adoption of new flash technologies. Toward this end, Intel, AMD, Fujitsu, Sharp and other leading Corporations promote the idea that a more flexible method of identifying Flash Memory sizes and configurations is needed. From this need, the Common Flash Interface (CFI) specification has emerged, allowing all necessary Flash parameters to be stored directly on the memory - like a data book on a chip. The Common Flash Interface (CFI) is a major breakthrough in flash identification. It allows one set of software drivers to identify and use a variety of different current, and future, Flash products. This is possible because all identifying information for the memory is stored directly on the chip. Information such as the memory size, byte/word configuration, block configuration, necessary voltages and timing information reside on the chip for use by the system software. The Common Flash Interface (CFI) allows systems to accept and use most SIMMs (single in-line memory modules) and memory cards manufactured today and tomorrow without revising the software. Software Read-while-Write. With current computer systems relying more and more on multi-tasking environments to provide real-time applications it is critical that the software has access to all of its data in deterministic times. The M58LWxxx family of Flash Memories solves this problem by providing fast program/erase suspend instructions, allowing access to valid regions of the Flash at any moment. Typically a program or erase operation can be suspended in 10s or less. Once suspended, Blocks of the Flash Memory that are not being affected may be read as normal, giving access to both code and data in the Flash Memory at very short notice.
6/12
AN1265 - APPLICATION NOTE
Flexible Block Locking. Blocks can be locked to prevent accidental, unwanted Program or Erase operations from changing the data. Applications often protect the Boot Blocks as accidental Program or Erase operations to these Blocks can render the system unrecoverable. Critical data and application code are also often protected. The Flexible Block Locking schemes allow any combination of Blocks to be locked. Like Program and Erase operations individual Block Locking is performed by an embedded algorithm so the user does not need to worry about the internal workings of the Flash Memory. All Blocks can be temporarily unlocked to allow changes using to the memory before re-locking and securing the data. NOR Technology. The M58LWxxx family is based on reliable NOR technology. NOR based Flash guarantees 100,000 program/erase cycles and guarantees 10 to 20 year data retention. Random access to all memory locations, in any order, are possible. This allows code execution directly from the memory. Insystem programming capability is possible for flexible manufacturing systems. BENCHMARKING AGAINST INTEL STRATAFLASHTM Intel also offer Multi-bit Flash Technology in their StrataFlash memory family. The Advanced features of the M58LWxxx family make it more suitable for a variety of applications. The following tables give indications as to which applications will benefit the most from each of the features of each memory. Table 2. Benchmarking against Intel StrataFlash(1)
Parameter/Function Read Voltage Program/Erase Voltage Program/Erase Enable Bus Width M58LW064A/B M58LW128A/B VDD = 2.7 to 3.6V VDDQ = 1.8 to 3.6V VDD = 2.7V to 3.6V Logic level Program Enable pin, VPP x16 or x32 28F640J3A 28F128J3A M58LWxxx Family Advantages
VCC = 2.7 to 3.6V Connection to low voltage MCUs VCCQ = 2.7 to 3.6V or 5V simpler for low power applications. VCC = 2.7 to 3.6V Logic level Program Enable pin, VPEN x8 or x16 Low Power Program/Erase Easy software or hardware program and erase protection High Bus Width for high bandwidth, direct code execution, integration with advanced microprocessors All Blocks equal simplifies Data Storage algorithms. 150ns with 32-bit bus for high data transfers Fast access for high speed synchronous transfers to MCU Fast access for non-burst mode MCUs Low power for long battery life even during code execution from memory Exceptionally low power for long battery life. Exceptionally low power for long battery life. The Command Set offers very powerful programming instructions and clear identification modes
Block Organization Random Access Burst Mode Page Mode Read Current Standby Current Power Down Current
Equal 64 Kword 150ns (VCC = 2.7V) Yes Yes 30mA 40A 1A
Equal 64 Kword 120ns (VCC = 2.7V) No Yes 55mA 100A 50A
Command Set
All Compatible except programming, where: M58LWxxx provides a 16 Word Buffer and StrataFlash provides an 8 Word Buffer
7/12
AN1265 - APPLICATION NOTE
M58LW064A/B M58LW128A/B Program 4 to 16 Words or 2 to 8 Double Words 12s 0.85s per Block 3s (typ) One Block at a Time 1s 10s (typ) Yes Yes 100,000 Program/Erase Cycles per Block TSOP56 TBGA64 TBGA80 28F640J3A 28F128J3A byte/word program with 32 byte program buffer 12s 0.8s per Block 25s (typ) One Block at a Time 0.7s 26s (typ) No Yes 100,000 Program/Erase Cycles per Block TSOP56 EasyBGA N/A Very fast access to data in other blocks when erasing. Enhanced Data Integrity for Code Storage Software readable Data Book for transparent future upgrade Long life Die-sized packages for sub-miniature applications. Die-sized packages for sub-miniature applications. Very fast access to data in other blocks when programming.
Parameter/Function Program Operations(2) Typical Programming Time (Average Word) Program Time Program Suspend Latency Erase Operations Erase Time Erase Suspend Latency Error Code Correction CFI Endurance Packages (x16) Packages (x16/x32)
M58LWxxx Family Advantages Write Buffer decreases CPU load and increases programming speed. Fast Word Programming time for efficient data updates
Note: 1. The benchmarking done in this table is an ST evaluation based on the Intel document 290667-005, March 2000. 2. For the M58LWXXX family the minimum Buffer Size of a "Write to Buffer and Program" command is 4 Words or 2 Double Words.
Connecting the M58LWxxx family to CPUs is similar to connecting the Intel StrataFlash. Both parts use Write Enable and Output Enable control signals; Chip Select for single Flash memory systems are the same; Page Mode is supported on both memories and the pin connections have been made as similar as possible. Burst systems will not be able to support Intel's family without extra logic; the burst signals are one of the main differences between the M58LWxxx family and the StrataFlash family. The M58LWxxx family offers designers to opportunity to interface to 32-bit data buses using a single Flash memory part, whereas the StrataFlash family is only available in bus widths up to 16-bits. Two StrataFlash memories are required in parallel to interface to 32-bit CPUs at the full bus width. Figure 5 shows the connections between a typical CPU and the two Flash memory families. For applications requiring 32-bit data buses, using one Flash memory rather than two simplifies the circuit and the PCB layout. For 16-bit applications the M58LWxxx family can be used in word mode. The burst control pins of the M58LW064B are not shown in the diagram. Figure 6 gives a comparison between the pin-connections of the StrataFlash family and the M58LWxxx family for the TSOP56 package. This highlights that, with careful design, it is possible to make a PCB that can take either part. The pins that have specific differences are given in Table 3.
8/12
AN1265 - APPLICATION NOTE
Table 3. Description of the Pin Differences between the M58LWxxx Family and StrataFlash Family
M58LWxxx R StrataFlash CE1 Comments The Valid Data Ready output, R, in the M58LWxxx family is an open drain output. CE1 in the StrataFlash family is a Chip Enable input. Many designs can ground this pin since, in both cases, no harm will come to either memory. The Latch Enable input, L, in the M58LWxxx family is used to latch the address for multiplexed address/data bus systems. The input is not required until bit M3 in the Burst Configuration Register has been set. The pin can be grounded for successful operation of both memories in the same socket. The Burst Clock input, K, in the M58LWxxx family is used to perform synchronous burst operations. BYTE# controls whether the StrataFlash is in byte-wide or word-wide mode. The pin should be tied to VDDQ for correct operation of both parts in the same socket. The Burst Address Advance input, B, is used to advance the address during burst operations. A0 is not used when the StrataFlash is in word-wide mode. The pin can be tied to VSS or VDDQ for correct operation of both parts in the same socket. The M58LWxxx family output drivers operate in the range 1.8V to 3.6V, whereas the StrataFlash family work from 2.7V to 3.6V and at 5V 10%. The range of operation for both parts to work in the same socket is 2.7V to 3.6V. The Status output, STS, in the StrataFlash family is configured to behave the same as the Ready/Busy output, RB, on power-up and on reset. Unless the configuration of the StrataFlash is changed the two parts will behave the same.
L
CE2
K
BYTE#
B
A0
VDDQ
VCCQ
RB
STS
CONCLUSIONS The M58LW064 is the first in a new series of Advanced, Next Generation Flash Memories from ST Microelectronics. The family includes many features to simplify and cost-reduce the products of today and tomorrow.
9/12
AN1265 - APPLICATION NOTE
Figure 5. Comparison of M58LW064B and 28F032J3A connections to 32-bit CPU
A2-A22 D0-D31 G W CS0
A1-A21 D0-D15 RD# WR# CS0# 28F320J3A
BYTE#
VCC
CPU (Non-Burst)
CS2# CS1#
A1-A21 D16-D31 RD# WR# CS0# 28F320J3A
BYTE#
VCC
CS2# CS1#
A2-A22 D0-D31 G W CS0
A2-A22 D0-D31 G W E M58LW064B
WORD
VCC
CPU (Non-Burst)
AI03425
10/12
AN1265 - APPLICATION NOTE
Figure 6. TSOP56 Connection Differences
A22 CE1 A21 A20 A19 A18 A17 A16 VCC A15 A14 A13 A12 CE0 VPEN RP# A11 A10 A9 A8 GND A7 A6 A5 A4 A3 A2 A1
A22 R A21 A20 A19 A18 A17 A16 VDD A15 A14 A13 A12 E VPP RP A11 A10 A9 A8 VSS A7 A6 A5 A4 A3 A2 A1
1
56
14 15
M58LWxxxA
43 42
28
29
A24 W G RB DQ15 DQ7 DQ14 DQ6 VSSQ DQ13 DQ5 DQ12 DQ4 VDDQ VSS DQ11 DQ3 DQ10 DQ2 VDD DQ9 DQ1 DQ8 DQ0 B K A23 L
A24 WE# OE# STS DQ15 DQ7 DQ14 DQ6 GND DQ13 DQ5 DQ12 DQ4 VCCQ GND DQ11 DQ3 DQ10 DQ2 VCC DQ9 DQ1 DQ8 DQ0 A0 BYTE# A23 CE2
Intel StrataFlash Family
Intel StrataFlash Family
AI03426
11/12
AN1265 - APPLICATION NOTE
If you have any questions or suggestion concerning the matters raised in this document please send them to the following electronic mail address:
ask.memory@st.com
(for general enquiries)
Please remember to include your name, company, location, telephone number and fax number.
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is registered trademark of STMicroelectronics (c) 2001 STMicroelectronics - All Rights Reserved All other names are the property of their respective owners STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. www.st.com
12/12


▲Up To Search▲   

 
Price & Availability of AN1265

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X